package com.mini.cn.goods.observer.message;


import com.mini.cn.goods.action.BaseAction;
import com.mini.cn.goods.action.Gift;
import com.mini.cn.goods.common.observes.Message;
import com.mini.cn.goods.config.MessageConfig;

import java.util.List;

public class ActionGiftMessage extends Message {

    public List<Gift> gifts;
    public BaseAction action;

    public ActionGiftMessage(BaseAction action, List<Gift> gifts) {
        this.gifts = gifts;
        this.action=action;
        this.messageId = MessageConfig.ACTIONGIFT;
    }
}
